package com.kuwou.workobject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuwou.workobject.pojo.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    // 使用 @Select 注解执行 TRUNCATE 语句
    @Select("TRUNCATE TABLE kuwou.`rank_list_comment`")
    void truncateTable();

}
